class BootStrap {

     def init = { servletContext ->
        def admin = new Role(authority:"admin", description:"SI Administrator")

        def vik = new User(username:"victor", userRealName:"Victor Benarbia", passwd:"69gamma", email:"jvmvik@gmail.com", description:"Software Engineer")
        vik.save()

        admin.addToPeople(vik)
        admin.save()

        def secured = new Requestmap(url:"/register/**", configAttribute:"admin");

     }
     
     def destroy = {
     }
} 